<?php
/**
*	@package UHU
*	@subpackage UHU_Config
**/

if(class_exists('uhu',false) === false)
{
	die('this file should only be loaded by uhu::__construct()');
}
else
{
	uhu_install_config::set('uhu::site administrator','the site administrator');
	set_exception_handler('uhu::Exception_handler');
	uhu::add_lib(new uhu_lib(uhu::path_to_libs .'/Smarty/Smarty.class.php','Smarty','Smarty'));
	uhu::add_component(new uhu_component(uhu::path_to_components . '/smarty.php','Smarty','Smarty_Registry',true));

	uhu::add_component(new uhu_component(uhu::path_to_components . '/thing2key.php','thing2key','thing2key',true));

	uhu::add_component(new uhu_component(uhu::path_to_components . '/ping.php','ping-package','ping_package'));
		uhu::add_app(new uhu_application(uhu::path_to_apps . '/pingers/pingerati.php','pingerati','pingerati'));

	uhu::add_component(new uhu_component(uhu::path_to_components . '/pdo-doc-cache.php','PDO doc cache','PDO_doc_cache'));
	uhu::add_component(new uhu_component(uhu::path_to_components . '/output.php','UHU Output','uhu_output'));
	
	uhu::add_component(new uhu_component(uhu::path_to_components . '/uhu/collection.php','uhu::collections','uhu_collection',true));

	uhu::add_component(new uhu_component(uhu::path_to_apps . '/secondlife/LLSD.php','LLSD','uhu_LLSD'));
		uhu::add_component(new uhu_component(uhu::path_to_apps . '/secondlife/LLSD/struct.php','LLSD struct','uhu_LLSD_struct'));
		uhu::add_component(new uhu_component(uhu::path_to_apps . '/secondlife/LLSD/binary.php','LLSD binary','uhu_LLSD_binary'));
		uhu::add_component(new uhu_component(uhu::path_to_apps . '/secondlife/LLSD/date.php','LLSD date','uhu_LLSD_date'));
		uhu::add_component(new uhu_component(uhu::path_to_apps . '/secondlife/LLSD/numeric.php','LLSD numeric','uhu_LLSD_numeric_NaN'));
		uhu::add_component(new uhu_component(uhu::path_to_apps . '/secondlife/LLSD/uri.php','LLSD uri','uhu_LLSD_uri'));
		uhu::add_component(new uhu_component(uhu::path_to_apps . '/secondlife/LLSD/uuid.php','LLSD UUID','uhu_LLSD_UUID'));
}
?>